package com.wanxi.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author yangjin
 * @date 2022年08月08日 19:36
 */
@Data
@ApiModel(value = "商品")
@AllArgsConstructor
@NoArgsConstructor
public class ProductEntity {
    @ApiModelProperty(value = "产品id",example = "这是商品唯一主键")
    private Integer productId;
    @ApiModelProperty(value = "商品名称",example = "牛排，羊肉")
    private String productName;
    @ApiModelProperty(value = "规格id",example = "1,xxxg/袋")
    private Integer specsId;
    @ApiModelProperty("商品标签")
    private String label;
    @ApiModelProperty(value = "商品类型",example = "0:海鲜水产；1:肉类食品;2:蔬菜瓜果类;3:冷饮冻食")
    private Integer commodityId;
    @ApiModelProperty("商品图片")
    private String picture;
    @ApiModelProperty("商品详情")
    private String details;
    @ApiModelProperty("产品产地")
    private String proAddress;
    @ApiModelProperty("生产商")
    private String  producer;
}
